package com.gopay.common.domain.cbrmb.internationalcard.masapay;

import java.io.Serializable;

/**
 * pay order resp
 * 
 * @ClassName: MasaPayOrderDTOResp 
 * @Description: TODO 
 * @author gd.cui 
 * @date 2017年10月26日 下午7:12:13
 */
public class MasaPayOrderDTOResp implements Serializable{
	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */
    private static final long serialVersionUID = 1L;
	// 基本参数
	private String version;
	private String charset;
	private String language;
	private String errCode;
	private String errMsg;
	private String signType;

	// 业务参数
	private String orgCode;
	private String payCurrencyCode;
	private String payMode;
	private String rates;
	private String riskDesc;
	private String riskOccurCount;
	private String submitTime;
	private String dealTime;
	private String merchantOrderNo;
	private String gatewayOrderNo;
	private String currencyCode;
	private String orderAmount;
	private String paidAmount;
	private String resultCode;
	private String riskLevel;
	private String ext1;
	private String ext2;
	private String signMsg;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}

	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}

	public String getGatewayOrderNo() {
		return gatewayOrderNo;
	}

	public void setGatewayOrderNo(String gatewayOrderNo) {
		this.gatewayOrderNo = gatewayOrderNo;
	}

	public String getCurrencyCode() {
		return currencyCode;
	}

	public void setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
	}

	public String getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(String orderAmount) {
		this.orderAmount = orderAmount;
	}

	public String getPaidAmount() {
		return paidAmount;
	}

	public void setPaidAmount(String paidAmount) {
		this.paidAmount = paidAmount;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getRiskLevel() {
		return riskLevel;
	}

	public void setRiskLevel(String riskLevel) {
		this.riskLevel = riskLevel;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public String getSignMsg() {
		return signMsg;
	}

	public void setSignMsg(String signMsg) {
		this.signMsg = signMsg;
	}
	

	public String getDealTime() {
		return dealTime;
	}

	public void setDealTime(String dealTime) {
		this.dealTime = dealTime;
	}
	

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getPayCurrencyCode() {
		return payCurrencyCode;
	}

	public void setPayCurrencyCode(String payCurrencyCode) {
		this.payCurrencyCode = payCurrencyCode;
	}

	public String getPayMode() {
		return payMode;
	}

	public void setPayMode(String payMode) {
		this.payMode = payMode;
	}

	public String getRates() {
		return rates;
	}

	public void setRates(String rates) {
		this.rates = rates;
	}

	public String getRiskDesc() {
		return riskDesc;
	}

	public void setRiskDesc(String riskDesc) {
		this.riskDesc = riskDesc;
	}

	public String getRiskOccurCount() {
		return riskOccurCount;
	}

	public void setRiskOccurCount(String riskOccurCount) {
		this.riskOccurCount = riskOccurCount;
	}

	public String getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(String submitTime) {
		this.submitTime = submitTime;
	}

	@Override
	public String toString() {
		return "MasaPayOrderDTOResp [version=" + version + ", charset=" + charset + ", language=" + language
				+ ", errCode=" + errCode + ", errMsg=" + errMsg + ", signType=" + signType + ", merchantOrderNo="
				+ merchantOrderNo + ", gatewayOrderNo=" + gatewayOrderNo + ", currencyCode=" + currencyCode
				+ ", orderAmount=" + orderAmount + ", paidAmount=" + paidAmount + ", resultCode=" + resultCode
				+ ", riskLevel=" + riskLevel + ", ext1=" + ext1 + ", ext2=" + ext2 + ", signMsg=" + signMsg + "]";
	}

	public String signatureData(String key) {
		return "signType=" + signType + "&merchantOrderNo=" + merchantOrderNo + "&currencyCode=" + currencyCode
				+ "&orderAmount=" + orderAmount + "&paidAmount=" + paidAmount + "&resultCode=" + resultCode + "&key="
				+ key;
	}
}
